package com.cqupt.medical.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>@author Jay</p>
 * <p>@date 2020/7/26 14:21</p>
 * <p>@Description:</p>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("patient")
public class Patient implements Serializable {

    @ApiModelProperty("身份证")
    @TableId
    private Integer idNumber;

    @ApiModelProperty("病人名字")
    private String name;

    @ApiModelProperty("身份证")
    private String sex;

    @ApiModelProperty("病人名字")
    private Integer age;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("医保卡")
    private Integer cardNumber;

    @ApiModelProperty("出生日期")
    private Date dateBirth;

    @ApiModelProperty("现居住地")
    private String residentialAddress;

    @ApiModelProperty("民族")
    private String nation;

    @ApiModelProperty("血型")
    private String bloodType;

    @ApiModelProperty("职业")
    private String occupation;

}
